home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_ImageMagick.idb / usr / freeware / catman / u_man / cat1 / xtp.Z / xtp
Encoding:
Text File  |  1999-01-26  |  16.3 KB  |  331 lines

  1.  
  2.  
  3.  
  4.      XXXXTTTTPPPP((((1111))))         UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((11110000 DDDDeeeecccceeeemmmmbbbbeeeerrrr    1111999999994444))))        XXXXTTTTPPPP((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       xtp -    file transfer program
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       xxxxttttpppp [    -_o_p_t_i_o_n_s ... ] <_u_n_i_f_o_r_m    _r_e_s_o_u_r_c_e _l_o_c_a_t_o_r>
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.       _X_t_p is a utility for retrieving, listing, or printing    files
  16.       from a remote    network    site, or sending files to a remote
  17.       network site.     _x_t_p performs most of the same functions as
  18.       the ffffttttpppp((((1111)))) program, but does not require any interactive
  19.       commands.  You simply    specify    the file transfer task on the
  20.       command line and xxxxttttpppp performs    the task automatically.
  21.  
  22.      EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  23.       To retrieve the file bbbbiiiirrrrdddd....jjjjppppgggg    in directory iiiimmmmaaaaggggeeeessss from  host
  24.       wwwwiiiizzzzaaaarrrrdddd....dddduuuuppppoooonnnntttt....ccccoooommmm, use:
  25.  
  26.            xxxxttttpppp ffffttttpppp::::////////wwwwiiiizzzzaaaarrrrdddd....dddduuuuppppoooonnnntttt....ccccoooommmm////iiiimmmmaaaaggggeeeessss////bbbbiiiirrrrdddd....jjjjppppgggg
  27.  
  28.       To retrieve all the files from directory iiiimmmmaaaaggggeeeessss as user
  29.       ccccrrrriiiissssttttyyyy from host wwwwiiiizzzzaaaarrrrdddd....dddduuuuppppoooonnnntttt....ccccoooommmm, use:
  30.  
  31.            xtp -retrieve ftp://cristy@wizard.dupont.com/images
  32.  
  33.       You will be prompted for a password.
  34.  
  35.       To retrieve all the files from directory iiiimmmmaaaaggggeeeessss as user
  36.       ccccrrrriiiissssttttyyyy and password mmmmaaaaggggiiiicccckkkk from host wwwwiiiizzzzaaaarrrrdddd....dddduuuuppppoooonnnntttt....ccccoooommmm, use:
  37.  
  38.            xtp -retrieve
  39.       ftp://cristy:magick@wizard.dupont.com/images
  40.  
  41.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  42.       ----aaaaccccccccoooouuuunnnntttt _p_a_s_s_w_o_r_d
  43.            Supply a    supplemental password required by a remote
  44.            system for access to resources.
  45.  
  46.       ----bbbbiiiinnnnaaaarrrryyyy
  47.            retrieve    files as binary.  This is the default.    Use
  48.            ++++bbbbiiiinnnnaaaarrrryyyy to retrieve files as text.
  49.  
  50.       ----ddddiiiirrrreeeeccccttttoooorrrryyyy
  51.            list the    names of files and their attributes that match
  52.            the filename component of the uniform resource locator.
  53.            The filename component is processed as a    regular
  54.            expression.
  55.  
  56.       ----eeeexxxxcccclllluuuuddddeeee _e_x_p_r_e_s_s_i_o_n
  57.            exclude files that match    the regular _e_x_p_r_e_s_s_i_o_n.
  58.  
  59.            This option applies to the ----ddddiiiirrrreeeeccccttttoooorrrryyyy, ----pppprrrriiiinnnntttt, or
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 12/17/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXTTTTPPPP((((1111))))         UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((11110000 DDDDeeeecccceeeemmmmbbbbeeeerrrr    1111999999994444))))        XXXXTTTTPPPP((((1111))))
  71.  
  72.  
  73.  
  74.            ----rrrreeeettttrrrriiiieeeevvvveeee options.
  75.  
  76.       ----ffffiiiilllleeee    _n_a_m_e
  77.            store the file with this    name.
  78.  
  79.            Refer to    the ----ggggeeeetttt and ----ppppuuuutttt option for more details.
  80.  
  81.       ----ggggeeeetttt get files that match the    filename component of the
  82.            uniform resource    locator.  The filename component is
  83.            expanded    by passing it to ccccsssshhhh((((1111)))).
  84.  
  85.            This option is equivalent to using the ffffttttpppp ggggeeeetttt command.
  86.            However,    if the filename    contains globbing characters
  87.            this option is equivalent to the    ffffttttpppp mmmmggggeeeetttt command.
  88.            Without globbing    characters, you    can store the file
  89.            locally with a different    name by    using the ----ffffiiiilllleeee
  90.            option.
  91.  
  92.       ----ppppoooorrrrtttt    _n_u_m_b_e_r
  93.            If no port number is specified, xxxxttttpppp attempts to contact
  94.            a FTP server at the default port.  Otherwise, the
  95.            specified port number is    used.
  96.  
  97.       ----pppprrrrooooxxxxyyyy _h_o_s_t_n_a_m_e
  98.            access the remote host via a proxy ffffttttppppdddd client running
  99.            on this host.
  100.  
  101.            The default value of this option    can be set with    the
  102.            environment variable xxxxttttpppp____pppprrrrooooxxxxyyyy.    See EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT    for
  103.            more details.  Use ++++pppprrrrooooxxxxyyyy to prevent proxy connections.
  104.  
  105.       ----pppprrrriiiinnnntttt
  106.            print files that    match the filename component of    the
  107.            uniform resource    locator.  The filename component is
  108.            processed as a regular expression.
  109.  
  110.       ----pppprrrruuuunnnneeee
  111.            process files in    the remote directory specified by the
  112.            directory component of the uniform resource locator.
  113.            Do not recursively search for files.
  114.  
  115.       ----ppppuuuutttt put files that match the    filename component of the
  116.            uniform resource    locator.  The filename component is
  117.            expanded    by passing it to ccccsssshhhh((((1111)))).
  118.  
  119.            This option is equivalent to using the ffffttttpppp ppppuuuutttt command.
  120.            However,    if the filename    contains globbing characters
  121.            this option is equivalent to the    ffffttttpppp mmmmppppuuuutttt command.
  122.            Without globbing    characters, you    can store the file
  123.            remotely    with a different name by using the ----ffffiiiilllleeee
  124.            option.
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 12/17/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXTTTTPPPP((((1111))))         UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((11110000 DDDDeeeecccceeeemmmmbbbbeeeerrrr    1111999999994444))))        XXXXTTTTPPPP((((1111))))
  137.  
  138.  
  139.  
  140.       ----rrrreeeettttrrrriiiieeeevvvveeee
  141.            retrieve    files that match the filename component    of the
  142.            uniform resource    locator.  The filename component is
  143.            processed as a regular expression.
  144.  
  145.            Retrieved files are stored on your local    host directory
  146.            as the full name    of the retrieved file.    For example,
  147.            if the retrieved    file is    named ddddooooccccuuuummmmeeeennnnttttssss////xxxxttttpppp....mmmmaaaannnn    on the
  148.            remote FTP server, it will appear in your remote
  149.            directory as ddddooooccccuuuummmmeeeennnnttttssss////xxxxttttpppp....mmmmaaaannnn.
  150.  
  151.       ----ttttiiiimmmmeeeeoooouuuutttt _s_e_c_o_n_d_s
  152.            specifies the maximum seconds to    complete your remote
  153.            FTP server request.  If this time expires, the program
  154.            terminates.  The    program    also terminates    if one tenth
  155.            of this value is    exceeded while logging onto the    remote
  156.            FTP server.
  157.  
  158.       ----ttttyyyyppppeeee    _n_a_m_e
  159.            identify    the remote system type:    UNIX, VMS, or other.
  160.  
  161.            The system type is determined automatically, however,
  162.            you can override    the system type    with this option.
  163.  
  164.       ----vvvveeeerrrrbbbboooosssseeee
  165.            show all    responses from the remote server.
  166.  
  167.       If only the program name is specified    on the command line,
  168.       the program command syntax and options are listed.
  169.  
  170.       If neither ----ddddiiiirrrreeeeccccttttoooorrrryyyy, ----pppprrrriiiinnnntttt, ----ppppuuuutttt, or ----rrrreeeettttrrrriiiieeeevvvveeee are
  171.       specified on the command line, the file or files specified
  172.       by the uniform resource locator is retrieved from the    remote
  173.       network host (as if ----ggggeeeetttt was specified).
  174.  
  175.       <_u_n_i_f_o_r_m _r_e_s_o_u_r_c_e _l_o_c_a_t_o_r> has the format:
  176.  
  177.           protocol://host/[directory/[filename]]
  178.  
  179.       where    protocol is ffffttttpppp    and host is
  180.       [[[[uuuusssseeeerrrr[[[[::::ppppaaaasssssssswwwwoooorrrrdddd]]]]]]]]@@@@hhhhoooossssttttnnnnaaaammmmeeee.  User defaults to    aaaannnnoooonnnnyyyymmmmoooouuuussss and
  181.       password defaults to hhhhoooosssstttt....ddddoooommmmaaaaiiiinnnn.  Note that
  182.       ddddiiiirrrreeeeccccttttoooorrrryyyy////[[[[ffffiiiilllleeeennnnaaaammmmeeee]]]] is interpreted relative to the home
  183.       directory for    uuuusssseeeerrrr, thus an absolute pathname    must be
  184.       specified with the leading ////:
  185.  
  186.           ftp://host//tmp/anyfile
  187.  
  188.       As an    extension, the filename    part of    the locator is
  189.       expanded by the shell    for options ----ggggeeeetttt or ----ppppuuuutttt, otherwise it
  190.       is processed as a regular expression.     For convenience, the
  191.       protocol component of    the uniform resource locator (ffffttttpppp::::////////)
  192.  
  193.  
  194.  
  195.      Page 3                        (printed 12/17/98)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      XXXXTTTTPPPP((((1111))))         UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((11110000 DDDDeeeecccceeeemmmmbbbbeeeerrrr    1111999999994444))))        XXXXTTTTPPPP((((1111))))
  203.  
  204.  
  205.  
  206.       may be omitted.
  207.  
  208.       XXXXttttpppp retrieves    files from the remote directory    for ----ggggeeeetttt and
  209.       puts files in    the remote directory for ----ppppuuuutttt.    Otherwise, xxxxttttpppp
  210.       looks    for a file of the form llllssss----llllllllssss----llll(((([[[[RRRRtttt]]]]))))++++(((([[[[RRRRtttt]]]]))))**** and
  211.       assumes it contains a    recursive directory listing.  If none
  212.       is found, xxxxttttpppp    recursively descends the directory hierarchy
  213.       from the remote directory.  Some remote hosts    may have
  214.       thousands of files causing a significant delay satisfying
  215.       your request.     This can be wasteful if the files you are
  216.       interested in    reside in a known directory.  You can reduce
  217.       the searching    required by specifying <_r_e_m_o_t_e _d_i_r_e_c_t_o_r_y> on
  218.       the command line.  This limits the filename search to    the
  219.       specified directory and any of its subdirectories.
  220.       Alternatively, ----pppprrrruuuunnnneeee    restricts the search to    the remote
  221.       directory only.
  222.  
  223.      RRRREEEEGGGGUUUULLLLAAAARRRR EEEEXXXXPPPPRRRREEEESSSSSSSSIIIIOOOONNNNSSSS
  224.       A _r_e_g_u_l_a_r _e_x_p_r_e_s_s_i_o_n is zero or more branches, separated by
  225.       ||||.  It matches anything that matches one of the branches.
  226.  
  227.       A branch is zero or more pieces, concatenated.  It matches a
  228.       match    for the    first, followed    by a match for the second,
  229.       etc.
  230.  
  231.       A piece is an    atom possibly followed by ****, ++++,    or ????.  An atom
  232.       followed by ****    matches    a sequence of 0    or more    matches    of the
  233.       atom.     An atom followed by ++++ matches a sequence of 1 or more
  234.       matches of the atom.    An atom    followed by ???? matches a    match
  235.       of the atom, or the null pattern.
  236.  
  237.       An atom is a _r_e_g_u_l_a_r _e_x_p_r_e_s_s_i_o_n in parentheses (matching a
  238.       match    for the    _r_e_g_u_l_a_r    _e_x_p_r_e_s_s_i_o_n), a range (see below), ....
  239.       (matching any    single character), ^^^^ (matching the null
  240.       pattern at the beginning of the input    pattern), $$$$ (matching
  241.       the null pattern at the end of the input pattern), a ''''
  242.       followed by a    single character (matching that    character), or
  243.       a single character with no other significance    (matching that
  244.       character).
  245.  
  246.       A range is a sequence    of characters enclosed in [[[[]]]].  It
  247.       normally matches any single character    from the sequence.  If
  248.       the sequence begins with ^^^^, it matches any single character
  249.       not from the rest of the sequence.  If two characters    in the
  250.       sequence are separated by ----, this is shorthand for the full
  251.       list of ASCII    characters between them    (e.g.  [[[[0000----9999]]]] matches
  252.       any decimal digit). To include a literal ]]]] in    the sequence,
  253.       make it the first character (following a possible ^^^^).     To
  254.       include a literal ----, make it the first or last character.
  255.  
  256.      EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  257.       xxxxttttpppp____pppprrrrooooxxxxyyyy
  258.  
  259.  
  260.  
  261.      Page 4                        (printed 12/17/98)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      XXXXTTTTPPPP((((1111))))         UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((11110000 DDDDeeeecccceeeemmmmbbbbeeeerrrr    1111999999994444))))        XXXXTTTTPPPP((((1111))))
  269.  
  270.  
  271.  
  272.            Specifies that the remote site should be    contacted by
  273.            proxy.  See ----pppprrrrooooxxxxyyyy.
  274.  
  275.      FFFFIIIILLLLEEEESSSS
  276.       ~~~~////....nnnneeeettttrrrrcccc
  277.  
  278.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  279.       ffffttttpppp((((1111CCCC)))),,,, MMMMoooossssaaaaiiiicccc((((1111))))
  280.  
  281.      CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
  282.       Copyright 1998 E. I. du Pont de Nemours and Company
  283.  
  284.       Permission is    hereby granted,    free of    charge,    to any person
  285.       obtaining a copy of this software and    associated
  286.       documentation    files ("ImageMagick"), to deal in ImageMagick
  287.       without restriction, including without limitation the    rights
  288.       to use, copy,    modify,    merge, publish,    distribute,
  289.       sublicense, and/or sell copies of ImageMagick, and to    permit
  290.       persons to whom the ImageMagick is furnished to do so,
  291.       subject to the following conditions:
  292.  
  293.       The above copyright notice and this permission notice    shall
  294.       be included in all copies or substantial portions of
  295.       ImageMagick.
  296.  
  297.       The software is provided "as is", without warranty of    any
  298.       kind,    express    or implied, including but not limited to the
  299.       warranties of    merchantability, fitness for a particular
  300.       purpose and noninfringement.    In no event shall E. I.    du
  301.       Pont de Nemours and Company be liable    for any    claim, damages
  302.       or other liability, whether in an action of contract,    tort
  303.       or otherwise,    arising    from, out of or    in connection with
  304.       ImageMagick or the use or other dealings in ImageMagick.
  305.  
  306.       Except as contained in this notice, the name of the E. I. du
  307.       Pont de Nemours and Company shall not    be used    in advertising
  308.       or otherwise to promote the sale, use    or other dealings in
  309.       ImageMagick without prior written authorization from the E.
  310.       I. du    Pont de    Nemours    and Company.
  311.  
  312.      AAAACCCCKKKKNNNNOOOOWWWWLLLLEEEEDDDDGGGGEEEEMMMMEEEENNNNTTTTSSSS
  313.       Steve    Singles, University of Delaware, for the initial
  314.       implementation of this program.
  315.  
  316.       Henry    Spencer, University of Toronto,    for the    implementation
  317.       of the _r_e_g_u_l_a_r _e_x_p_r_e_s_s_i_o_n interpreter    and the    text in
  318.       RRRREEEEGGGGUUUULLLLAAAARRRR EEEEXXXXPPPPRRRREEEESSSSSSSSIIIIOOOONNNNSSSS.
  319.  
  320.      AAAAUUUUTTTTHHHHOOOORRRR
  321.       John Cristy, E.I. DuPont De Nemours and Company Incorporated
  322.  
  323.  
  324.  
  325.  
  326.  
  327.      Page 5                        (printed 12/17/98)
  328.  
  329.  
  330.  
  331.